package com.baidu.disk.bean;

import java.util.Date;

/**
 * Created by CJ on 2018-02-27.
 *
 * 对于文件预览问题暂未支持
 */

public class ElementBean {

      private String category;   //类别、正常是6
      private String fsId;      //元素唯一标示
      private String dirEmpty;     //改文件夹是否为空，如果是文件默认不为空（1--yes,0--no）
      private String operId;       //创建者id
      private String size;          //字节为单位B
      private String isDir;         //是否为文件夹 （1--yes,0--no）
      private String path;          //完整路径
      private Date localCtime;  //创建时间
      private String serverFilename;  //文件名称
      private String md5; //文件加密

    public String getCategory() {
        return category;
    }

    public void setCategory(String category) {
        this.category = category;
    }

    public String getFsId() {
        return fsId;
    }

    public void setFsId(String fsId) {
        this.fsId = fsId;
    }

    public String getDirEmpty() {
        return dirEmpty;
    }

    public void setDirEmpty(String dirEmpty) {
        this.dirEmpty = dirEmpty;
    }

    public String getOperId() {
        return operId;
    }

    public void setOperId(String operId) {
        this.operId = operId;
    }

    public String getSize() {
        return size;
    }

    public void setSize(String size) {
        this.size = size;
    }

    public String getIsDir() {
        return isDir;
    }

    public void setIsDir(String isDir) {
        this.isDir = isDir;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public Date getLocalCtime() {
        return localCtime;
    }

    public void setLocalCtime(Date localCtime) {
        this.localCtime = localCtime;
    }

    public String getServerFilename() {
        return serverFilename;
    }

    public void setServerFilename(String serverFilename) {
        this.serverFilename = serverFilename;
    }

    public String getMd5() {
        return md5;
    }

    public void setMd5(String md5) {
        this.md5 = md5;
    }

    @Override
    public String toString() {
        return "ElementBean{" +
                "category='" + category + '\'' +
                ", fsId='" + fsId + '\'' +
                ", dirEmpty='" + dirEmpty + '\'' +
                ", operId='" + operId + '\'' +
                ", size='" + size + '\'' +
                ", isDir='" + isDir + '\'' +
                ", path='" + path + '\'' +
                ", localCtime=" + localCtime +
                ", serverFilename='" + serverFilename + '\'' +
                ", md5='" + md5 + '\'' +
                '}';
    }
}
